/**
 * 
 */
package com.seascape.swms.system.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.seascape.swms.framework.service.BaseService;
import com.seascape.swms.framework.web.BaseController;
import com.seascape.swms.system.model.Org;
import com.seascape.swms.system.service.OrgService;

import io.swagger.annotations.Api;

/**
 * @author Lay
 *
 */
@Api("组织接口")
@RestController
@RequestMapping("/orgs")
public class OrgController extends BaseController<Org>{

	@Autowired
	private OrgService orgService;
	
	/* (non-Javadoc)
	 * @see com.seascape.swms.framework.util.BaseController#getBaseService()
	 */
	@Override
	protected BaseService<Org> getBaseService() {
		return orgService;
	}
}
